Atlanta Braves take series opener from San Francisco, 5-3.