Fix bug where UTF-16-encoded blobs were improperly chomped as if they were UTF-8 encoded