Use dir->gethdrs() as far down as we can, then switch to getfd().