Add callback argument to track completion of dump

That means you can remove the node_version.h #include from this file, right?