Fix twitter stream error under python 3

This fixes the "AttributeError: '_io.BufferedReader' object has no
attribute '_sock'" error when trying to create a twitter stream with
python3