Add the ability to save data to a stream.

- Useful when we don't want to save to a filename directly but stream
 it (this was something available in php-cloudfiles as well).