NodeJS script that takes a WordPress XML file and generates static files