pub async fn copy<R, W>(r: R, w: W) -> Result<()>where R: AsyncBufRead + Send + Unpin, W: AsyncWrite + Send + Unpin,
Reads through the entire NAR, and writes it back to a writer. This verifies its syntactical correctness.