[libvirt] [PATCH] Replace truncate() with ftruncate()