Electron v2.0.8
Mac and Windows

As package.json does not allow spaces in the name field, my app is named "MyApp". In my build settings my productName is set to "My App" so that the user sees the name with spaces.

Using app.getPath('appData') the app data path clearly uses the "name" and saves all data in a folder named "MyApp" in my library.
Using app.getPath('logs') the log path uses the "productName" field and saves all logs in a folder named "My App". This is inconsistent, and results in multiple folders being created instead of just 1.

Using third-party log apps such as "electron-store" saves logs to the folder "MyApp" along with the appData, so it seems it is just Electron's logs path that is wrong.

```
{
  "name": "MyApp",
  "version": "0.0.1",
  "main": "./js/app.js",
  "scripts": {
    "start": "electron .",
    "build": "electron-builder --dir -mw --ia32 --x64",
    "ship": "electron-builder -mw --ia32 --x64 -p always",
    "postinstall": "electron-builder install-app-deps"
  },
  "build": {
    "appId": "com.my.app",
    "productName": "My App"
```
atom/browser/api/atom_api_app.cc
char temporaryCString[kCStringSize] = {0};
  CFStringGetCString(value, temporaryCString, kCStringSize,
                     kCFStringEncodingUTF8);
  region = temporaryCString;
#else
  const char* locale_ptr = setlocale(LC_TIME, NULL);
  if (!locale_ptr)
    locale_ptr = setlocale(LC_NUMERIC, NULL);
  if (locale_ptr) {
    std::string locale = locale_ptr;
    std::string::size_type rpos = locale.find('.');
    if (rpos != std::string::npos)
      locale = locale.substr(0, rpos);
    rpos = locale.find('_');
    if (rpos != std::string::npos && rpos + 1 < locale.size())
      region = locale.substr(rpos + 1);
  }
#endif
  return region.size() == 2 ? region : std::string();
}
void App::OnSecondInstance(const base::CommandLine::StringVector& cmd,
                           const base::FilePath& cwd) {
  Emit("second-instance", cmd, cwd);
}
bool App::HasSingleInstanceLock() const {
  if (process_singleton_)
    return true;
  return false;
}
bool App::RequestSingleInstanceLock() {