The playful folk-pop hit became a chart-topping sensation, even as some radio stations refused to play it.