Hash-based image/file uniqification