A planned tax write-off sparked a three-year fight, a new buyer, and free publicity that helped the finished Looney Tunes film reach the big screen.