Create temporary files in tmp/

tmp is usually ignored, and makes more sense for temporary files.

Closes #9