To safeguard a rare Brazilian woodpecker, an NGO bought out its habitat