Fixed saveParticleFile()