#16057: Clarify why the base method default is called in custom encoders.

Original patch by Kushal Das.
open file in binary mode