Copy remote job scripts to a temp file and rename it.

This avoids problems due to the job file overwriting itself when suite
and task host share a filesystem.
Retain Jinja2 during inlined edit sessions.
Merge pull request #951 from hjoliver/inlined-edit-change

Retain Jinja2 during inlined edit sessions.
Merge pull request #950 from hjoliver/job-submission-fix

Copy remote job scripts to a temp file and rename it.