@@ -142,12 +142,13 @@ if (partNumber == lastPartNumber) IRI = _archiveIRI; else { OFMutableIRI *copy = [[_archiveIRI mutableCopy] autorelease]; - copy.path = [_archiveIRI.path.stringByDeletingPathExtension - stringByAppendingFormat: @".z%02u", partNumber + 1]; + [copy deletePathExtension]; + [copy appendPathExtension: [OFString + stringWithFormat: @".z%02u", partNumber + 1]]; [copy makeImmutable]; IRI = copy; } return (OFSeekableStream *)[OFIRIHandler openItemAtIRI: IRI mode: @"r"];