Fix infinite-loop in temp-dir
Merge pull request #63 from TheClimateCorporation/master

Fix infinite-loop in temp-dir