some issues still with osx getdirentries