Fix module initialization in Python 3.x
Use Capsule instead of deprecated CObject
Use PyUnicode instead of deprecated PyString
Dirty fix for PyFile