title: Files.createTempDirectory("") throws NullPointerException
body: <p>When I call <code>Files.createTempDirectory("")</code> I get the below exception:</p>
  
  <pre><code>java.lang.NullPointerException
  at sun.nio.fs.WindowsSecurityDescriptor.fromAttribute(WindowsSecurityDescriptor.java:353)
  at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:220)
  at java.nio.file.Files.newByteChannel(Files.java:315)
  at java.nio.file.Files.createFile(Files.java:586)
  at java.nio.file.TempFileHelper.create(TempFileHelper.java:138)
  at java.nio.file.TempFileHelper.createTempFile(TempFileHelper.java:161)
  at java.nio.file.Files.createTempFile(Files.java:803)
  </code></pre>
  
  <p>None of the examples of the usage of <code>Files.createTempDirectory("")</code> I have found passed in any <code>FileAttribute</code>s.
  I have tried with <code>Files.createTempDirectory("", new FileAttribute&lt;?&gt;[] { });</code> but it did not help either.</p>
  
  <p>I am using 32 bit JDK 7 on Windows 7 system.
  I am not local admin on the machine.</p>
  
  <p>Has anybody come accross this?</p>
  
  <p><strong>UPDATE 1:</strong></p>
  
  <p><code>Files.createTempFile(this.tempDir.toPath(), "tmpFile", "");</code> seems to have the same problem.</p>
  
  <p>As a workaround I have moved to <code>com.google.common.io.Files.createTempDir()</code>.</p>