fs: uv_fs_{open,read}_dir for unix

Tested on Linux, MacOS X and SmartOS.

Fixes #1430
Shouldn't that be `_PC_NAME_MAX`?