Working around a application hang in NSOpenPanel (related to sandboxing)