unix: change uv_cwd not to return a trailing slash

This aligns the behavior with the Windows implementation.
test: fix cwd_and_chdir test on Unix

There is no need to check for a trailing slash, uv_cwd ensures it.
test: add uv_cwd output to platform_output test