Broken python-magic

this pull request solves problems of included python-magic module with libmagic 5.15.