Run uniq on linked_dir_parents.

Without uniq it will try to create multiple of the same folder if several have the same parent.  This makes it so that it only creates folders that are unique.