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.