Use tempfile.mkdtemp to create temp dir
Use tempfile.mkdtemp to create temp dir

Using tempfile.mkdtemp is the standard way to safely create a temporary
directory and allows multiple Loader instances to be ran in parallel
avoiding more that one instance trying to create a time stamped
directory.

AstunTechnology/Loader