Tyler Wagner provides needed relief in D-backs win.