OSX: Allow user to display hidden files in the browser dialog.

This follows the recent commit from LordHoto, adding the same functionality to the OS X file browser.

I am not completely sure of the code since my Objective-C is a bit rusty. It works for me on 10.8, that's about all I can say.