Remote extra space and attempt to fix line endings