Take a look at graceful-fs. This is a node module which abstracts all the fs calls you wish to make with some addtionaly features. Especially useful in windows systems.
Usage is dead simple:
# Install
$ npm install graceful-fs
# Usage (in foo.js)
var fs = require('graceful-fs');