Fix the date time set in file by removing the ':'.

This is the same code than the one under SendCore. The date time should
not have the : (time zone offset) to be able to use the file.
Merge pull request #995 from yjoly/master

Fix the date time set in file by removing the ':'.