fix(main): `os::getcwd()` now returns `IoResult`