fs: uv_fs_{open,read}_dir for unix

Tested on Linux, MacOS X and SmartOS.

Fixes #1430
Not sure what Unix platforms wouldn't define `PATH_MAX`, but `4096` seems a bit large. BSD, for example, can only hold `1024`.