Create tempdir for metadata changes in same parent dir

so that it will usually be on the same filesystem.

tempfile.mkdtemp() is still making the new directory with permissions
that will likely differ from the old directory.
Merge pull request #25 from w3c/jgraham/metadata_temp_dir

Create tempdir for metadata changes in same parent dir