Convert line endings to Unix format