remove CR from line endings