Fix line ending to auto (Linux/windows) and fix encoding to UTF-8