src: adapt to API change in uv_cwd