Clone stream on file for additional destinations in file publisher
Once a stream is used, it cannot be rewound and reused. This situation arises if multiple destinations are specified. The file publisher should detect this case and rebuild the stream for additional destinations.
Currently, it's up to extensions to deal with this issue.
This is related to the following issue: antora-lunr-extension#44 (comment 898575422)