do_encode: fix using poisoned OUTPUT even if $1 is passed
do_encode: fix using poisoned OUTPUT even if $1 is passed

(record job) <defined env[OUTPUT]>
-> trans_manager.php
  -> do_encode.sh <prefer env[OUTPUT] to $1>

turenar/rectool,turenar/rectool