Fix #79 issue with streaming in Python3

@etpinard, @chriddyp, yeah?