Roald Dahl had a dark mind, but in the end, he believed goodness would win