Stephen Curry had 20 points and Leandro Barbosa provided a much-needed spark in a 89-84 win in Philadelphia.