renames metadata file