DeltaJen: use mkstemp for tmp files

This fixes the issue on windows (and linux vm's)
where a subprocess can't access the temp file.