add exception safety to _file_to_iter
TwistedWebResource: close contexts that return static files as well
minor