split qemu_export into clean & export, make it safer to re-use run_log