Fetch TTL properly. Handle expired keys in Redis 2.8.

RESTORE wants the expiry time in milliseconds, so use pttl() instead of ttl().

Also, Redis 2.8 returns -2 if the key doesn't exist, so we'll catch that and avoid storing the key on the destination host.