fix(\n): Fix first occurrence of \n line ending

Previously the first occurrence of a '\n' or '\r' character would be removed if
the file did not start with \r\n.
Merge pull request #13 from remcohaszing/master

fix(\n): Fix first occurrence of \n line ending