Fix problems with @errors not being dumpable on 1.8