Fix for file corruption bug when saving primitives.


git-svn-id: svn://svn.code.sf.net/p/vpinball/code/trunk@962 14438d79-0ffd-4333-8ae7-ea2bdd901387