should use python's tempfile module to create a tempfile or at least a directory