ListDir support directories with oddly named files

ListDir urlencodes links for filenames as needed so filenames can't be
used to html injection.