more pep8 cleanup in loaders.py