Update: compute hash only on same-size files.