Better FakeRedis.scan() implementation.