Adapt generators and other iterables to a python file-like interface
