properties: use a real GError domain instead of 0 in export()