convert to UNIX style line endings