Reverted to native Node FS module, and fixed the MAX open file issue by closing files when done.