py2 use conversion functions to convert bytes and strings
py2 - rough change to use unicode literals
py3 - make more similar to the updated py2 code
py2 - cleanup python 2 code a bit DOES NOT WORK WITH OLD PYTHON VERSIONS ANYMORE