49ers bounce Bucs, close-in on playoff birth