Age of Empires DRS file reader/writer in Node.js