propagate more errors from fs functions