TaskObject add output_temp arg.
fix output temp file bug.