Using the neutral as the fault current path for outside feeders was legal until recently. (With the noted limitation of no bonded metallic paths other than the neutral between the two structures.)
However you mention that this is on a farm. Such installations have been implicated in 'stray voltage' issues on farms, so in my mind an open question is just why the customer wanted this subpanel 'grounded'. I would try to dig the why out of the customer. Any voltage drop on the neutral will show up as a voltage applied to the grounding electrodes at the subpanel. If there is significant neutral voltage, then this can show up as 'step potentials' (voltage from one patch of soil to a nearby patch of soil) around the grounding electrodes at the subpanel.
If you actually want to add an EGC, there are few sensible options beyond digging and adding an EGC.
You might be able to re-allocate some of the conductors, eg. making one of the phase conductors into the EGC and going to a three phase service, or making the grounded conductor into the EGC, and eliminating all line-neutral loads.
For example, (assuming that this is a 208/120 feeder) you could change the feeder from A,B,C,N to A,B,C,G, supply only 208V loads, and then use a transformer to supply any 120V loads. Somewhat more esoteric (and I am not sure about being legal), you could change the feeder to A,B,C,G and then use a 'zig-zag autotransformer' to derive a local neutral for 120V loads.
-Jon