t5318: use 'test_cmp_bin' to compare commit-graph files