Replaced instances of PyString_FromString with PyBytes_FromString