raw/ioat: fix directory handle leak