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