Fix whitespace and line endings