LIBCLOUD-378: S3 uploads fail on small iterators