{diff,import-commit,new}: fix handling of binary files