Kurdish-run prisons hold about 8,000 suspected IS fighters and around 34,000 of their family members in camps.