win32_unicode.py: Do not encode text in python 3
win32_unicode.py: Do not encode text in python 3

This patch reverts the changes made in cc2cb51c1c94bb2d080b6ba28a520ea7442eb656
and instead tries a simpler approach: Just add a "not PY3" to the conditions
of line 124.

This should prevent the TypeError exception from being raised both in
redirected output in Windows cmd and third party consoles such as
PyCharm. Also works as expected when `win_unicode_console` is enabled.

Bug: T147654
Change-Id: I50c7c04734b96239ed4141f70dd795bd62a61bfc

magul/pywikibot-core,npdoty/pywikibot,hasteur/g13bot_tools_new,Darkdadaah/pywikibot-core,wikimedia/pywikibot-core,Darkdadaah/pywikibot-core,PersianWikipedia/pywikibot-core,happy5214/pywikibot-core,hasteur/g13bot_tools_new,wikimedia/pywikibot-core,jayvdb/pywikibot-core,hasteur/g13bot_tools_new,jayvdb/pywikibot-core,magul/pywikibot-core,happy5214/pywikibot-core,npdoty/pywikibot