Added support for Java NIO Paths