It is loosely based on Hans Christian Andersen’s “The Shepherdess and the Chimney Sweep,” but it includes elements of dystopia and steampunk long before they were cool. When production began in 1948, it was supposed to be France’s first animated feature (and it sort of was), yet it would take three decades for it to be completed to its creators’ satisfaction.