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.

Closes #949

@matthewrmshin - please review.