Removing trailing ^M from each line.