fs: uv_fs_{open,read}_dir for unix

Tested on Linux, MacOS X, SmartOS and Windows.

Fixes #1430.
@splinterofchaos Indeed, thank you for catching this!