dedup: implement a file size-based optimization

Forget and don't calculate the hash of those files which has uniqe size.