Check for all used fd-based functions in shutil.rmdir, closes #15218
2 files changed