Fix retrieval of replicated files; if local file's checksum is corrupt then retry at replicas