Use quick-temp for tmp dirs, and replace afterBuild with cleanup. Fixes #8

.cleanup only runs once, just before the process exits.