The current directory is set as the default working directory.
Would you consider using the Unix standard $TMPDIR veriable as the default instead?
THis is honoured by the tmpdir() API in most languages and set on HPC systems to /tmp or /scratch to avoid killing NFS home mounts etc.