This function ends the sequential writting of the segment begun with writeph_spk14_begin, and finally stores it in the SPK file associated to the ephemeris descriptor eph. After this function has been called other segments can be written to this file again.