Thu May 4 01:45:05 PDT 2006 Simon Marlow <simonmar at microsoft.com> * writeFile: close the file on error Suggested by Ross Paterson, via Neil Mitchell M ./System/IO.hs -6 +22