Implement --dry-run option, calculating the hashes locally