gitcmds: Replace changed_files() calls with diff_filenames()