Bug fix for made up directory names in check_browsedir() not having the
directory bit set.