Fixed Python 2.x string issue in CBBShell.