This should be `fs.close(fd);`