[examples] Let store_example test task output to log rather thans stdout.