gui: add YAML output file support.