Appends slash to directories in directory listings