Better spans for import/export errors.