Refactor Grib save handling of grid templates, for clarity.

Yes, but I think this shows more clearly how the resulting message would appear.