Looks fine here:
27,76,117,97,81,0,0,4,4,4,8,0,
0,0,0,0,
0,0,0,1,
0,0,0,1,
0,0,0,2,
0,
0,
0,
3,
0,0,0,1,
1,0,0,30,
0,128,0,30,
0,0,0,1,
4,
0,0,0,6,
97,116,104,105,110,0,
0,0,0,0,
0,0,0,0,
0,0,0,0,
0,0,0,0,
How are you dumping the generated byte code to file?
Edit: Looks like you must be trying to write the whole dumped string to file at once using a non-binary file handle. That's not going to work, because one of the values is > 127. If you look carefully, you'll notice that that byte is missing in the output. I'm not sure why it ends up missing entirely, but you may have better luck using a binary file handle and writing each byte to the file one at a time using string.byte. For reference, I just did a quick for loop in the lua prompt and used string.byte to dump in to a normal file handle, which is why my dump is comma-separated decimal values rather than hex values. You can see that the dump is still accurate, though. This is not a CC bug.