cli.repl_py27: also convert Unicode repr in Python 2.x