dupefile cleanup wouldn't remove if only 1 record existed (rev. 5)

Signed-off-by: nixnodes <code@eth.si>