fix imports in compiled Tempita for Py3