use binmode when outputting in filter-smudge