cleanup the temporary directory at exit