[PATCH 5.13 064/223] perf data: Close all files in close_dir()