Convert line endings to Unix style