Added date writing for saving playlist