- Fixed a few string issues that were causing exceptions in Python 3.4.
- Replaced all instances of cStringIO with io.StringIO to conform to Python 3 standards. Using io.StringIO is also backwards compatible with Python 2.7.