Smith stops 27 shots to turn away Flyers