Fixed spb/mpb problem in file dialog.