Josh Collmenter and Ryan Vogelsong each turned in scoreless performances before San Francisco broke