STL2STLXML: fix string/data handling for Python 3
STL2STLXML: fix string/data handling for Python 3

As Python 3 distinguishes between string and binary data, some code
parts had to be adjusted. In some cases, additional conversions had to
be added.

IRT-Open-Source/scf