If he'd died, it would have been a dark spot to an otherwise feel-good movie.
Not so much of a "downer" as just all the sudden it would be a very heavy, serious movie.
Also, the end had some surreal aspects to it. Leading up to a death it would have been even weirder.