Astros avoid sweep with 12-0 win over Dodgers