Add callback argument to track completion of dump

Long line, wrap at 80 columns (and make the arguments line up.)