File upload now safer using python-magic stuff