This drops a dependency on remove_dir_all.
remove_dir_all
Avoids: https://rustsec.org/advisories/RUSTSEC-2023-0018