save ephem to file