More fixes to make tinys3 Unicode compatible

Add a stringify util to encode to UTF-8 when necessary