Fix some bugs in composite-fs writeFile and add more regression tests. Handle special case to ensure implicitly writing a file on top of a directory by shadowing it is not allowed.
Composite fs: cleanup logging code
Merge branch 'dev' of github.com:scripted-editor/scripted into dev