* Electron version: 1.6.2
* Operating system: macOS 10.12.3

### Actual behavior
I faced with strange behaviour of `<input type='file' />` in Electron.
You can select special Macs' folders - app folders (for example `/Applications/Calculator.app`).
In Finder it looks like file, but it's directory!

### Expected behavior
There are two possible ways.

1. `Chrome`way (and Safari). In real Chrome you can select `Calculator.app` from `<input type='file' />`. But Chrome transparently created `Calculator.app.zip` and attached this archive to input.
2. `Firefox` way. In Firefox you can not select any folders from `<input type='file' />`

### How to reproduce
I have created simple fiddle for that https://jsfiddle.net/s7c7k33b/ for testing in different browsers and Electron
atom/browser/ui/file_dialog.h
#ifndef ATOM_BROWSER_UI_FILE_DIALOG_H_
#define ATOM_BROWSER_UI_FILE_DIALOG_H_
#include <string>
#include <utility>
#include <vector>
#include "base/callback_forward.h"
#include "base/files/file_path.h"
namespace atom {
class NativeWindow;
}
namespace file_dialog {
typedef std::pair<std::string, std::vector<std::string> > Filter;
typedef std::vector<Filter> Filters;
enum FileDialogProperty {
  FILE_DIALOG_OPEN_FILE          = 1 << 0,
  FILE_DIALOG_OPEN_DIRECTORY     = 1 << 1,
  FILE_DIALOG_MULTI_SELECTIONS   = 1 << 2,
  FILE_DIALOG_CREATE_DIRECTORY   = 1 << 3,