Burnley manager Sean Dyche says James Tarkowski's defending won them the game as they beat Fulham 2-1 at Turf Moor.