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 should compare the test output without using a temporary file and without hashing, e.g.,

```
assertTrue(Files.asByteSource(fileToUpload).contentEquals(ByteSources.asByteSource(read.getPayload())));
```

This will read better when you convert `fileToUpload` into a pure `ByteSource` instead of a `File`.  Note that assertj has an `assertEquals(InputStream, InputStream)` if we bring in that dependency.