gui: Fix File|Export in output viewer.