unichr doesn't exitst in py3. use PY2 to select ccorrect chr.

fixes filechooser test on py3