The various endings have to do, more than likely, with not only tales of a similar sort coming from various countries but the censoring of fairy tales.
For example, the original version of Red Riding Hood often has the hunter killing and then gutting the wolf in order to rescue both Little Red...