git-apply: more consistency checks on gitdiff filenames