This is done by returning the entire error stringified instead of just the message. This fixes the issue with the "save as" dialog.
Previously they'd go in still stringified so we didn't get a chance to convert buffer objects back to buffers, for example, making things like `fs.write` write `[object Object]` to files.