JCLOUDS-619

Hello,

this is the fix for the issue described here[1].

Please review and let me know if you need something else.

Thanks and kind regards
Markus

[1] https://issues.apache.org/jira/browse/JCLOUDS-619
You an you create an in-memory test input with a ByteSource more cheaply, e.g.,

```
byte[] array = new byte[1024];
Random.nextBytes(array);
ByteSource byteSource = ByteSources.repeatingArrayByteSource(array);
```