Add support for `java.nio.file.Path` (#1)