Finish write to vhd