qemu: avoid fd leak on core dump failure
qemu: avoid fd leak on core dump failure

* src/qemu/qemu_driver.c (doCoreDump): Guarantee fd is closed.

eskultety/libvirt,kantai/libvirt-vfork,siboulet/libvirt-openvz,jardasgit/libvirt,rmarwaha/libvirt,cbosdo/libvirt,rmarwaha/libvirt1,kantai/libvirt-vfork,novel/fbsd-libvirt,zhlcindy/libvirt-1.1.4-maintain,olafhering/libvirt,danwent/libvirt-ovs,nertpinx/libvirt,agx/libvirt,rmarwaha/libvirt,usc-isi/libvirt,elmarco/libvirt,leilihh/libvirt,crobinso/libvirt,wiedi/libvirt,dumbbell/libvirt,novel/fbsd-libvirt,danwent/libvirt-ovs,iam-TJ/libvirt,warewolf/libvirt,foomango/libvirt,jeckersb/libvirt,jfehlig/libvirt,rlaager/libvirt,kantai/libvirt-vfork,wiedi/libvirt,leilihh/libvirt,andreabolognani/libvirt,zhlcindy/libvirt-1.1.4-maintain,nertpinx/libvirt,jardasgit/libvirt,emaste/libvirt,leilihh/libvirt,nertpinx/libvirt,trainstack/libvirt,zhlcindy/libvirt-1.1.4-maintain,trainstack/libvirt,libvirt/libvirt,rmarwaha/libvirt1,dumbbell/libvirt,emaste/libvirt,eskultety/libvirt,zhlcindy/libvirt-1.1.4-maintain,foomango/libvirt,soulxu/libvirt-xuhj,warewolf/libvirt,agx/libvirt,rmarwaha/libvirt1,shugaoye/libvirt,cbosdo/libvirt,trainstack/libvirt,dumbbell/libvirt,jeckersb/libvirt,fabianfreyer/libvirt,dumbbell/libvirt,novel/fbsd-libvirt,shugaoye/libvirt,siboulet/libvirt-openvz,novel/fbsd-libvirt,trainstack/libvirt,crobinso/libvirt,fabianfreyer/libvirt,VenkatDatta/libvirt,elmarco/libvirt,rmarwaha/libvirt,bjzhang/libvirt,fabianfreyer/libvirt,shugaoye/libvirt,dumbbell/libvirt,rlaager/libvirt,zippy2/libvirt,jfehlig/libvirt,nertpinx/libvirt,soulxu/libvirt-xuhj,libvirt/libvirt,jeckersb/libvirt,novel/fbsd-libvirt,iam-TJ/libvirt,foomango/libvirt,jeckersb/libvirt,taget/libvirt,iam-TJ/libvirt,bjzhang/libvirt,wiedi/libvirt,rlaager/libvirt,warewolf/libvirt,datto/libvirt,rlaager/libvirt,soulxu/libvirt-xuhj,wiedi/libvirt,datto/libvirt,zippy2/libvirt,iam-TJ/libvirt,warewolf/libvirt,datto/libvirt,trainstack/libvirt,jardasgit/libvirt,emaste/libvirt,datto/libvirt,warewolf/libvirt,usc-isi/libvirt,libvirt/libvirt,andreabolognani/libvirt,rmarwaha/libvirt1,elmarco/libvirt,siboulet/libvirt-openvz,trainstack/libvirt,emaste/libvirt,warewolf/libvirt,rmarwaha/libvirt,danwent/libvirt-ovs,leilihh/libvirt,novel/fbsd-libvirt,crobinso/libvirt,danwent/libvirt-ovs,zhlcindy/libvirt-1.1.4-maintain,crobinso/libvirt,libvirt/libvirt,VenkatDatta/libvirt,leilihh/libvirt,siboulet/libvirt-openvz,iam-TJ/libvirt,usc-isi/libvirt,cbosdo/libvirt,rlaager/libvirt,andreabolognani/libvirt,olafhering/libvirt,zippy2/libvirt,novel/fbsd-libvirt,andreabolognani/libvirt,elmarco/libvirt,danwent/libvirt-ovs,rmarwaha/libvirt,olafhering/libvirt,bjzhang/libvirt,rmarwaha/libvirt,dumbbell/libvirt,warewolf/libvirt,taget/libvirt,bjzhang/libvirt,fabianfreyer/libvirt,shugaoye/libvirt,emaste/libvirt,eskultety/libvirt,trainstack/libvirt,jeckersb/libvirt,jfehlig/libvirt,cbosdo/libvirt,jeckersb/libvirt,novel/fbsd-libvirt,emaste/libvirt,siboulet/libvirt-openvz,wiedi/libvirt,jardasgit/libvirt,fabianfreyer/libvirt,jardasgit/libvirt,taget/libvirt,novel/fbsd-libvirt,kantai/libvirt-vfork,VenkatDatta/libvirt,olafhering/libvirt,rmarwaha/libvirt1,soulxu/libvirt-xuhj,kantai/libvirt-vfork,eskultety/libvirt,iam-TJ/libvirt,andreabolognani/libvirt,usc-isi/libvirt,datto/libvirt,leilihh/libvirt,agx/libvirt,taget/libvirt,VenkatDatta/libvirt,wiedi/libvirt,taget/libvirt,foomango/libvirt,zippy2/libvirt,wiedi/libvirt,rmarwaha/libvirt1,foomango/libvirt,VenkatDatta/libvirt,jeckersb/libvirt,nertpinx/libvirt,agx/libvirt,emaste/libvirt,soulxu/libvirt-xuhj,bjzhang/libvirt,iam-TJ/libvirt,shugaoye/libvirt,agx/libvirt,elmarco/libvirt,jfehlig/libvirt,cbosdo/libvirt,usc-isi/libvirt,eskultety/libvirt