The missing parts of node's file system api