changed putBucket function return value

Hi, 
The putBucket function return value was invalid, so I changed it to return the data['headers']['Location']