qemu: serial: write into config file