Fixed CR LF newline handling for binary file headers.

(cherry picked from commit 04fc8dac)
6 jobs for OpenMesh-5.2