[Py3] f.fileno may raise io.UnsupportedOperation.
flakes