ParticleEffect: Use Writer instead of File in save method

This way the GWT emu for ParticleEffect is no longer needed.