[BUGFIX] Persist files that are updated in ResourceStorage