replace remaining "unicode" with "compat.text_type" (why weren't they replaced earlier?)