Replace \r with \n