Convert CRLF to LF
Add missing LF at EOF