Added in a patch for unicode problem with Python 3.