fixing python-magic