Pull stream buffers into string objects to work around httplib2 issue.

This works around https://code.google.com/p/httplib2/issues/detail?id=176
which can cause data corruption in a stream.  This would eventually result in
a mismatching hash on the final object or a 410 from the service when a
non-idempotent write was issued.

(Patch originally by thobrla, see https://github.com/GoogleCloudPlatform/gsutil/commit/af195c87e19570831c4d9197810e8be0be2d85aa)
1 file changed