=doc #16134 read file as binary stream, because StreamReader expects binary (backport)

Fixes #16134