Output qemu command to file