remove use of unichr, basestring and unicode objects. (#9724)
* Convert all usage of unichr to chr.
* Replace basestring with str.
* Remove usage of unicode() which is not available in Python3.
* Revert changes to braille related files as these will be handled in a separate pr.
* Address review comments.