fs.utimes = function(path, atime, mtime, callback) { binding.utimes(pathModule._makeLong(path), toUnixTimestamp(atime), toUnixTimestamp(mtime), makeCallback(callback)); };
fs.link = function(srcpath, dstpath, callback) { binding.link(pathModule._makeLong(srcpath), pathModule._makeLong(dstpath), callback || noop); };
fs.unlink = function(path, callback) { binding.unlink(pathModule._makeLong(path), callback || noop); };
fs.readdirSync = function(path) { return binding.readdir(pathModule._makeLong(path)); };
fs.statSync = function(path) { return binding.stat(pathModule._makeLong(path)); };
fs.renameSync = function(oldPath, newPath) { return binding.rename(pathModule._makeLong(oldPath), pathModule._makeLong(newPath)); };
fs.mkdirSync = function(path, mode) { return binding.mkdir(pathModule._makeLong(path), modeNum(mode, 511 /*=0777*/)); };
fs.unlink = function(path, callback) { callback = makeCallback(callback); if (!nullCheck(path, callback)) return; binding.unlink(pathModule._makeLong(path), callback); };
fs.chown = function(path, uid, gid, callback) { callback = makeCallback(callback); if (!nullCheck(path, callback)) return; binding.chown(pathModule._makeLong(path), uid, gid, callback); };
fs.statSync = function(path) { nullCheck(path); return binding.stat(pathModule._makeLong(path)); };
fs.readlinkSync = function(path) { nullCheck(path); return binding.readlink(pathModule._makeLong(path)); };
fs.rmdirSync = function(path) { nullCheck(path); return binding.rmdir(pathModule._makeLong(path)); };
Module._extensions['.node'] = function(module, filename) { return process.dlopen(module, path._makeLong(filename)); };
fs.exists = function(path, callback) { binding.stat(pathModule._makeLong(path), function(err, stats) { if (callback) callback(err ? false : true); }); };
fs.openSync = function(path, flags, mode) { mode = modeNum(mode, 438 /*=0666*/); return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode); };
fs.chmod = function(path, mode, callback) { binding.chmod(pathModule._makeLong(path), modeNum(mode), callback || noop); };
fs.rename = function(oldPath, newPath, callback) { binding.rename(pathModule._makeLong(oldPath), pathModule._makeLong(newPath), callback || noop); };
fs.chmodSync = function(path, mode) { return binding.chmod(pathModule._makeLong(path), modeNum(mode)); };
fs.mkdir = function(path, mode, callback) { if (typeof mode === 'function') callback = mode; binding.mkdir(pathModule._makeLong(path), modeNum(mode, 511 /*=0777*/), callback || noop); };
fs.chown = function(path, uid, gid, callback) { binding.chown(pathModule._makeLong(path), uid, gid, callback || noop); };
fs.readdir = function(path, callback) { binding.readdir(pathModule._makeLong(path), callback || noop); };
fs.chownSync = function(path, uid, gid) { return binding.chown(pathModule._makeLong(path), uid, gid); };
fs.stat = function(path, callback) { binding.stat(pathModule._makeLong(path), callback || noop); };
fs.utimes = function(path, atime, mtime, callback) { atime = toUnixTimestamp(atime); mtime = toUnixTimestamp(mtime); binding.utimes(pathModule._makeLong(path), atime, mtime, callback || noop); };
fs.symlinkSync = function(destination, path, type) { return binding.symlink(pathModule._makeLong(destination), pathModule._makeLong(path), type); };
fs.utimesSync = function(path, atime, mtime) { atime = toUnixTimestamp(atime); mtime = toUnixTimestamp(mtime); binding.utimes(pathModule._makeLong(path), atime, mtime); };
fs.linkSync = function(srcpath, dstpath) { return binding.link(pathModule._makeLong(srcpath), pathModule._makeLong(dstpath)); };
StatWatcher.prototype.start = function(filename, persistent, interval) { this._handle.start(pathModule._makeLong(filename), persistent, interval); };
fs.unlinkSync = function(path) { return binding.unlink(pathModule._makeLong(path)); };
fs.chown = function(path, uid, gid, callback) { binding.chown(pathModule._makeLong(path), uid, gid, makeCallback(callback)); };