Node.js file I/O for purescript