Cython 0.19 will disable assignment of `char *` to `str`

closes #339