[Libguestfs] [PATCH v3 07/13] v2v: factor out copying of output data