spy/objects: add __slots__ for SpyFile