Fix exception on Windows when trying to set POSIX file permissions.

Signed-off-by: Timo Kinnunen <timo.kinnunen@gmail.com>
Support Jetty 9.

Signed-off-by: Timo Kinnunen <timo.kinnunen@gmail.com>