fs.js: fix value of i in Fs.path