xupdate: call write_mainfile_protector() on uploading protector too
xupdate version 0.37
Merge branch 'xupdate' into CorePack