Added scoped-errno, unit test.
Added is-valid-fd.