Change encoding and line endings