Rearrange to avoid having to add prototypes.
CPython: remove implicit conversins

On Python3.x, module would convert Unicode to UTF-8. On Python2.x module
would treat Unicode as a buffer(!), writing UCS-2 to the store.