Added explicit check for java.io.tmpdir to be writable.
JNA may attempt to unpack its own shared library there.

http://www.ps3mediaserver.org/forum/viewtopic.php?f=6&t=16776&p=79153#p79142