Handle CRLF line endings