Convert CRLF to LF
Remove tailing spaces