Transform a file's line endings from `\r\n` to `\n`.