Fallback from unichr() to chr() (Python 3 compatibility).

Python 3 doesn't have a 'unichr', because it has unified its str and
unicode types.