49ers rough up Cowboys in Week 2 of preseason