Cole Hamels went 8 strong innings in win against Astros