write new cookies back to cookie jar file