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

This reverts commit 505d65c19c5d921e1fc90f17544b9b979f5e15bc.