Fix to locale issues with XAPI download python tool

Changed XAPI download python tool and toolbox to handle other locales.
Fix for issue #30.