Cleanup line endings