Cython 0.20 fix for implicit bytes conversion