Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
archive: ensure files are written in binary mode
On POSIX-compliant operating systems (e.g. Linux, macOS), there is no difference between binary mode and text mode, but Windows transforms line feeds ("\n") to "\r\n" sequences during write operations, resulting in corrupted images.
- Loading branch information