Refactor Grib save handling of grid templates, for clarity.

Actually, I haven't yet found a need to change it at all, so this could be removed.