Updated Files.createTempFile to create intermediate directories.