convert line endings from CRLF to LF