normalize all line breaks to Unix style ‘\n’