Make text client python2/3 compatible
Make text client python2/3 compatible

- Make str unicode string
- Use BytesIO for python2 and StringIO for python3

forslund/mycroft-core,forslund/mycroft-core,Dark5ide/mycroft-core,MycroftAI/mycroft-core,linuxipho/mycroft-core,Dark5ide/mycroft-core,linuxipho/mycroft-core,MycroftAI/mycroft-core