Don't use the `PyString_...' functions directly. Instead, define two
collections of macros `TEXT_...' and `BIN_...', which can be used on
text and binary strings respectively. The two sets are slightly
different, because they've been designed to adapt to Python 3's
different interfaces.
There are no `PyString...' calls remaining outside of these macros.