forgot to set type when making DirEntry nodes