[Libguestfs] [PATCH] file: Better support for read-only files