Support Python 3 Unicode strings