I bent a frame pump on a dog once. If it's on a regular ride route you might want to stop a little ahead and pick up a stick for that purpose.
What my wife does is to slow wayyyy down. I guess dogs really only want to chase if they think you're trying to get away.