Add function to save brew packages in Brewfile