Merge pull request #1716 from ZackerySpytz/Python-utf8-cache

Use PyUnicode_AsUTF8() for Python >= 3.3