Linus Ullmark was solid in goal and Tage Thompson scored in the shootout as the Buffalo Sabres defeated the New York Rangers 3-2.