series of minor fixes to the savedlg example

was listing directories in reverse order, also using unnecessary
nextFile variable to add files at end. Also check for and append missing
final / to directory names, to normalize view.