Removed PyString refs from extension modules
We have some old PyString references hanging around in our extension modules. These are a relic of the old Py2 string handling and will be removed in Python 4 I think, so figured worth modernizing

https://docs.python.org/3/howto/cporting.html
thanks @WillAyd 