Now os::errno() is landed to the core library
Update for the language changes

* Use new impl syntax
* Rename die! to fail!