Some dumb unicode => text_type replacements