MAINT: fix cythonize/tempita for Py3