REF: Support Python 3 using six.

This passes on Python 2.7 and 3.4 locally. It's unclear whether numba supports 3.4 yet; that's for another day.
it is probably because the string is based down to a c layer with minimal processing.