fix: if dirent.name is empty we get a IO error when listing a dir