Add encoding of binary files (http://rjbs.manxome.org/rubric/entry/2021).