Don't write out the meta record if TSK_FS_META_FLAG_USED is not set.
Fix the dirIndex bug, to set it correctly based upon a depth-first traversal.