Refresh correctly after external image replacement
Fixes stale display when an opened image is replaced or overwritten externally, refreshing the original image, thumbnail, metadata, RMS, and similarity cache through lightweight file identity checks.