Adapt the fix meta data script to the minimal schema

When importing documents from the archive we need to change the version
to comply with the new versioning scheme.