fixed typo in base_frames

re-worked FrameRewindableStream.__getitem__ to not raise exceptions
on definition by adding a helper generator function.