Finally got a working readdir for sshfs.