Nationals grind out postseason victory