Avoid SafeTempDir with odd permissions.

We actually need rwx permissions, so check for it.
Merge branch 'ebfe-tmpdir-perms'