Use tempfile.mkdtemp() in python3 cli tests #32