Gloucestershire storm to victory with Brathwaite's help