Improve garbage detection of utf8tokenizer.