unit test: utils: Test write with real files
utils: Implement non-blocking variants for read/write files, add tests for that