support override initial path of file dialog

Fix rogerwang/node-webkit#516