Updated dependencies with python-magic
Switched to Python 2 since a lot of libraries are not supported on Python 3