Fixing a non-deterministic test -- readdir(3) doesn't guarantee an ordering