Normalize line ends in a string 'mixed',"mixed.replace('\r\n', '\n').replace('\r', '\n')"