Remove writeTo function

I don't personally need this, and apparently it's broken anyway.