Suppress binary diffs

This builds on the work done for #5457, suppressing binary diffs in the
functions within the file module instead of just in the file state.
Merge pull request #6004 from terminalmage/suppress-binary-diff

Suppress binary diffs