Add callback argument to track completion of dump

@bnoordhuis How about the handle ID part of things? shouldn't that be in the set when i save the callback?