Graphviz: Fix issue with too many open file streams on Windows platform

Fixes #20931
2 files changed