Add `var` to prevent a global variable: `var fd = fs.open...`