Fix file dialogs opening to saved path on OS X.