Properly escape errors even with HaskellPrelude.