Create temporary directory handler.
Merge pull request #101 from prometheus/refactor/test/directory-extraction

Create temporary directory handler.