migration/savevm: flush file for iterable_only case