If you are using the 'cm cat/getfile' command in combination with the '>' parameter to store the file/revision content to an external file, you will find that the output file is corrupted.
The raw command output will not preserve the text file encoding or the binary file format, so please use the '--file=file.exe' parameter instead.
For example:
cm getfile myfile.txt#cs:3 --file=tmp.txt