Jonathan Huberdeau scored and had two assists, Jakob Pelletier buried the game-winning goal, and Dustin Wolf made 32 saves to help the Calgary Flames top the Buffalo Sabres 5-2.