No need to check twice if the file is in the database

We already have done this check before in it_is_a_directory
and it_is_a_file functions in ciseaux.c.
Corrected the dedup calculation : no need to add the bytes from the database.