See comment above.  You can just drop whatever you want into <code>test.tmpdir</code> and forget about it.  It will be cleaned up automatically.