African lions and villagers would benefit from fences to protect them from each other, according to a new study.