trying magic to stream file straight out

There's probably some subtle condition here I'm missing, but it's still
early days and it passes all the obvious tests.