* added exit.js to ensure stdout is flushed on windows before process.exit
* added support for xml output format