Still fixing up binary files.
The replace_unicode function no replaces last newline character so the checksum of an exported and then imported file matches the original.