Sanity check for temporary dir