DOC: fix documented return value of tostring/tobytes

The function returns bytes not strings. This is relevant in python3.