fix error with <() process substitution

Fixing error to previous pull request with the process substitution. Running
```
resubmit_failed_jobs.sh JOBID
```
will no longer give an error.