Fixed file formatting in dumpParticles method.