Corrects some of the generated names in cython extensions

Induced by swithing purify to using cookoff python functionality.