currently, directories returned from fdir always include a trailing slash. having the ability to disable this would be nice