[WIP] os_nodetype: impl with libuv

step towards #133
uv_guess_handle does what we need for Windows. It would be fine for unix too if it detected BLK and DIR types.