Common temporary scratch directory utils that I keep re-inventing across projects.