The Dwarf Magician
A little man gives a miller's daughter the ability to spin straw into gold -- all she has to do is give him her first-born child. When he returns to collect his payment, she is given one chance to save her child -- she has to guess his name.