[LIBCLOUD-639] Fix upload_object_via_stream so it works correctly
under Python 3.x if user manually passes an iterator to the method.

Closes #408

Signed-off-by: Tomaz Muraus <tomaz@apache.org>