fs.writeFileSync() issue fix.