One method that works very well and may stop that dog from ever doing it again (but is hard to pull off) is to get the dog to run into a telephone pole. In sixth grade, the dog that always chased all of us at the bottom of a hill did just that. (I didn't plan it; the dog gets full credit.) That dog never chased again.
As one who has hit three dogs and crashed; the last time with a concussion and hospital visit, I have no sympathy for the dogs. That chase is a choice by the dog and its owner. If that dog suffers injury chasing me, well owner, you made your choices, I made mine. I like my skin. Apparently you don't care.
Ben