Patrice Bergeron recorded his eighth NHL hat trick and 400th career goal as the Boston Bruins blanked the Buffalo Sabres 5-0.