Node.js: extra methods for the fs object.