Update ch.py

changed print to sys.stdout.write()  will work on finding out how to get self._currentname to return the name if there is one and not None