Migrated helper code for reading/writing cloned region info from old repo.