[LIBCLOUD-639] Python 3 Error: "Invalid argument %r for b()" when using upload_object_via_stream

https://issues.apache.org/jira/browse/LIBCLOUD-639