unix, windows: make uv_cwd be consistent with uv_exepath

Fixes #446