stopped using python-magic