dumpscan: Don't call cb_dirent twice