Run Popen with close_fds=True to submit job script

This should prevent the process from hanging on to the file descriptor
for writing the job script, the root cause of the text file busy error.