fix for MechanicalSoup
support for file upload