Fixed bug with line splitting for unix style endings