[Libguestfs] [PATCH 4/6] lib: qemu: improve handling of FILE*