fix adding binary streams

In python3 urllib returns bytes for binary data instead of string.
So we need just to check the type, so is_binary isn't needed anymore.