Do .rstrip on the line ends