49ers pummel Texans, improve to 3-2