[tor-commits] [tor/master] Check that mktemp result is a directory