[Libguestfs] Bug: readdir() returning null on large number of files