Corrected the write-to filename.

If I'd left it, things would have been disastrous.