add accept option, #2

https://github.com/rogerwang/node-webkit/wiki/File-dialogs#filter-file