toxyz: added XYZ file output module

Lifted straight out of my old super secret project. It's been 2 months... whoa. Still no idea when I'll publish it. It'd rather wait until... yeah... 20-something of March. That'll be a good time to do it. Will need to clean it up though. You think this code is garbage, wait till you see that one.