write save time to file