A 'bizarre' material used by some birds to line their nests in tree cavities could actually save their offspring.