I think setting "temp" is really unnecessary, or could even have adverse effects on the code. This is because the temp directory that the "temp" nodejs module uses is the one used by the OS