generate diffs for binary files (supercedes #2)