fix for node >=0.10.0

nodejs on versions 0.10.0 and higher requires callback on all fs async function.

See https://github.com/joyent/node/issues/5005 for details.