(diff_dumpdir): Rename stat->stat_data to avoid shadowing the syscall.