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.