pep8 cleanup on metadata_utils.py