Fixed App.getPath to correctly support Py2Exe application on Windows