Fix obscure error with world writable temp dir