Fix Python3 getting string instead of bytes in SignedRequest.