fix readdir not to set ENOENT when directory is removed while reading