Dev cwilks1

Why are you trying to roll your own temp dir creation?
https://docs.python.org/2/library/tempfile.html