Remove dependency on nio.Path