add fs functions for uv.lua