What is the correct way to wire a utility light with an outlet?
You would connect the safety ground wires that are currently twisted to a third bar wire pigtail which would then connect to the terminal that you have labeled B. (This would match much the same as you have shown the black and white wire sets to be pig tailed).

Be aware that the outlet of this new fixture will be a switched outlet if this light is turned on and off by the separate remote switch that you described in another question. Normally this type of light fixture would be used when connected to a non-switched circuit so the outlet is live all the time and then the light itself turned on and off via the pull chain.

If you have concerns regarding the safety of an outlet like this you may consider getting a ceramic base light socket that does not have the socket. They are readily available and not very expensive.