fix line endings