Replace : by . in date string, to be compatible with MS Windows.