Clean up error_instances.py and metadata.rb files