Leaning on running game helped Giants grind out win