Big fire burns building along San Francisco waterfront