As I heard today, the compressor should do binary files. NB! This EOF solution works perfectly fine, as 0xff is interpreted as ' ' (not space). Normal text files never have this character in them.