Is this extra code really needed? I think that the string returned by `libssh2_hostkey_hash()` is NULL-terminated. And therefore can be just passed to `Py_BuildValue("y", ...)`, without specifying its size. Otherwise that code would have even be broken on Python 2 where there is no difference between bytes and str.