[FIX] Upload: Use fake filename in MIME header
[FIX] Upload: Use fake filename in MIME header

The standard MIME request does only support ASCII characters in the
headers. As the value is apparently not interpreted it's replaced by
a dummy value, so Unicode characters in the file page name doesn't cause
pywikibot to receive an API error.

There is RFC2231 which is supported by both Python versions but not by
PHP on which the MediaWiki server rely (see bug: 73662). This does only
fix the uploads as it is unknown how to handle other MIME requests.

Bug: 73661
Change-Id: I5ea92dcf1115b675b56142494d805e75d389b7d4

PersianWikipedia/pywikibot-core,h4ck3rm1k3/pywikibot-core,npdoty/pywikibot,Darkdadaah/pywikibot-core,icyflame/batman,smalyshev/pywikibot-core,magul/pywikibot-core,npdoty/pywikibot,wikimedia/pywikibot-core,hasteur/g13bot_tools_new,Darkdadaah/pywikibot-core,xZise/pywikibot-core,VcamX/pywikibot-core,wikimedia/pywikibot-core,emijrp/pywikibot-core,hasteur/g13bot_tools_new,happy5214/pywikibot-core,trishnaguha/pywikibot-core,jayvdb/pywikibot-core,darthbhyrava/pywikibot-local,h4ck3rm1k3/pywikibot-core,happy5214/pywikibot-core,hasteur/g13bot_tools_new,TridevGuha/pywikibot-core,jayvdb/pywikibot-core,magul/pywikibot-core,valhallasw/pywikibot-core