Either take it up on the Python offer,
Friend of mine, a Claude fan, asked it to write him some code to convert a file from format1 to format2. It came up with (approximately):
file1 = fopen("file.fmt1", "r");
file2 = fopen("file.fmt2", "w");
while(!feof(file1))
fputc(file2, fgetc(file1));
fclose etc;
If you didn't specify the formats save for the file extension and asked it specifically for code, that is a a valid file copy method with rename pattern (just with no error handling and some buffering would be nice).
The risk is actually that a human engineer is likely to frown at me, smile bemusedly and ask, "Why?" The AI might not.
Also. What if the next prompt is. "Great, now can we add a "filter_by_offset" method"