fix spaces in line endings