Tony Stewart grabbed a victory on a dirt track