Add callback argument to track completion of dump

Don't use ^ (or not yet, anyway), it breaks older npm clients.