Swap the arguments to writeFile: corrects the print output

Watched your keynote, and, as a Haskell noob, I tried out your code and it compiled but the output did not seem correct.