fix crash when diabdat.mpq was not writable