Robin Lehner made 39 saves to help the New York Islanders beat the Buffalo Sabres 2-1.