Convert lines to Unix format