Add progress meter to dump

Print a progress meter, similar to the one used in restore.