archive: defer opening the output until a file is matched
Note: this can be considered a BC change. We should decide on what the correct behavior for empty archives is, this is one variant, dropping the error is the other.
Note: this can be considered a BC change. We should decide on what the correct behavior for empty archives is, this is one variant, dropping the error is the other.