DUNE FileSystem: replaced _pgmptr with GetModuleFileName() in applicationFile(). This commit fixes #2691.