Plack middleware to adapt a a file handle like object set the the body response which does 'read' but not 'getline'