Convert line endings to \n