checkmail: avoid regenerating cookies.

Only regenerate the cookies file after a failed attempt to read the feed. Keep
the cookies file in /tmp for the next invocation.