Add basic unit test + pendings for mch_[gs]etperm.
Use preprocessor trick to import 'defines'.
Add tests for non existing file.
Move mch_[gs]etperm to os/fs module.
Refactor os/fs module.