regtest: print commands also for image format tests