Improve tstr <=> UTF-16LE conversions