Tweaked callgraph call for cross-platform temp dir and using PATH var

Repeating after-fork pull, see https://github.com/phacility/xhprof/pull/24

Fixes callgraphs on Windows.