Fix SlidingReadWindow to not reuse an iterator after calling takewhile(). Closes #19.