It's not necessary but rather the way the Driver steps are set up-- for all steps, you specify an input *dir* and an output *dir*.  The driver calls this function directly.

I don't mind either way but did you update the other users of this code to use "graphviz.svg" instead of the destDir?