Carlos Beltran helps in win over Astros, Rangers win 10-8