clean tempfile. types_cli.c: add proto cli_newchan