Fixing binary files