clar: use a custom temp directory name
Merge pull request #2647 from ethomson/clar_tmpname

clar: use a custom temp directory name