Modified got_dirlist to make it compatible with the dirlisting format more appropriate for yield at the server