Add temporary file/path/directory methods w/ tests.

This will free me from the pains of ruby's Tempfile, tmpdir, etc.