mkpatch: improve handling of binary files

Re-enable use of patches with binary files.
Improve detection of binary files by using diff rather than checking
the svn:mime-type property (previous check was not safe since it did
not check the property for the old and new revisions).