fix application.OS.Windows.file.write_file