HADOOP-10926. Improve test-patch.sh to apply binary diffs (cmccabe)