Hmm, that's strange. Did you try the command again? It might have been USB communication error. Still, "Unknown error" is pretty cheesy.
Magisk does put AVB sig on the end. I'm not sure who/what pays attention.
Just for fun, download imgutil.exe and
Code:
C:\>imgutil /v magisk-whatever.img