Fix Chill serialization of Range objects

It used to write out each element one by one, creating very large objects.