patch applied (cabal): Make die use an IOError that gets handled at the top level