history: remove old unused history files