fix unichr() failure under python3