Cary Bernstein Architect updated a 1904 cottage in San Francisco’s Potrero Hill neighborhood to include a third-floor addition that meets the needs of a growing family—while also upholding sustainability standards.