ext.widestring: catch a wild UnicodeEncodeError