Convert crlf to nl for portability