Fix for WindowsError

Fix for WindowsError exception when 'dot' is not on PATH.
Previously the program just shut down without any previous warning