Brittle fracture dynamics with arbitrary paths I. Kinking of a dynamic crack in general antiplane loading