Supporting DreamObjects is added

My storage provider is DreamHost. So I change code a little for adding DreamHost support.
I didn't test it with other storage providers. But I guess it works correctly with all the storage providers who support S3 API.