Fixed a bug with creating buckets in amazons3 driver