OSX file chooser fix.