Use existing setTimestamp function for ctime test and improve error checking.
Use existing setTimestamp function for ctime test and improve error checking.

middelink/restic,restic/restic,middelink/restic,restic/restic