Better /tmp handling. Refs #125
Indentation should be 4 spaces. No tabs.