implement fs functions in uv_lua