Search for dot executable in the PATH.

Current code checks if the path exists, but not if it exists in the user's PATH somewhere. This needlessly requires the site.cfg to be modified, even though we can run `dot` just fine.