Remove extraneous line endings.