Use temp directory provided by the OS rather than /tmp
Compromise