make sure the new attributes (see r8003) are correctly written to file and read in again.
Authored by: mrieser 2009-07-22
Parent: [r8008]
Child: [r8010]