Fix stripping of terminator from unicode strings.. was incorrectly stripping a single null from UTF16 strings, which would corrupt the string