[modules/admin] open the admins file in overwrite mode in onModuleUnloaded