changed magic upgrade to use pip. easy_install gave an error because of the installation of the 00magic file.