Make mkdtemp use mode 700 for the temporary directory, so it is suitable for bundling and not just tests.