test bucket existence before creation

@VikParuchuri   a tiny change to make uploads work again.  Tests for bucket existence before trying to create it