deps: update uv to v1.0.0-rc2
core: replace use of uv_fs_readdir with uv_fs_scandir
core: fix usage of uv_cwd

It was modified in libuv to be consistent with uv_exepath and not
include the trailing NULL byte in the returned size.