[WIP] Failing test for issue 106

We don't truncate the file when we `writeFile` to an existing file, while node.js does.

I haven't looked into the fix yet.