Use temporary directory to store stdout/stderr/stdin/finished flag files instead of the same directory, which prevents [1] use of a read-only file system to store the module, and [2] multiple simultaneous processes using spawn-sync at the same time