Speed up GError exception creation: read content only when needed