fixes a bug in model->file phase

git-svn-id: svn://scm.gforge.inria.fr/svnroot/spoon/trunk/spoon-core@2373 b1f50995-73fd-43b8-8ca2-fbc405a04e82