support nio paths