The current ApplicationTemp directory creation logic doesn't work in exactly the same way as Files.createTempDirectory and doesn't make use of java.nio.file. It would be sensible to align things.