issue #398: mv METADATA.json.new to METADATA.json