Remove \r at the end of lines.