- Electron version: 1.2.1
- Operating system: OSX

When a user downloads an item I've been trying to get the location that they've saved it to. It's not documented, but I noticed on the downloadItem there is a `getSavePath` function. This always returns an empty string when I call it.

Was wondering if it's not documented for a reason / not working. Or is there a better way to get the location that a user selects?

atom/browser/atom_download_manager_delegate.cc
if (!item)
    return;
  NativeWindow* window = nullptr;
  content::WebContents* web_contents = item->GetWebContents();
  auto relay = web_contents ? NativeWindowRelay::FromWebContents(web_contents)
                            : nullptr;
  if (relay)
    window = relay->window.get();
  base::FilePath path;
  if (file_dialog::ShowSaveDialog(window, item->GetURL().spec(),
                                  "", default_path,
                                  file_dialog::Filters(), &path)) {
    
    AtomBrowserContext* browser_context = static_cast<AtomBrowserContext*>(
        download_manager_->GetBrowserContext());
    browser_context->prefs()->SetFilePath(prefs::kDownloadDefaultDirectory,
                                          path.DirName());
  }
  
  
  
  callback.Run(path,
               content::DownloadItem::TARGET_DISPOSITION_PROMPT,
               content::DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS, path);
}
void AtomDownloadManagerDelegate::Shutdown() {
  weak_ptr_factory_.InvalidateWeakPtrs();
  download_manager_ = nullptr;
}
bool AtomDownloadManagerDelegate::DetermineDownloadTarget(