Deal with ValueError exceptions from the email.utils timestamp code.