Changed PyString_* to PyBytes_*, corrected a couple of minor warnings