Fixed exclude for filenames with trailing tilde.