Kevin Durant scored 31 points and dished out eight assists to lead the Houston Rockets to a 117-116 win over his former team, the Golden State Warriors.