Only write out modified persistence windows (AbstractPersistenceWindow only).
Merge pull request #965 from dmontag/1.9+only-write-dirty-windows

Only write out modified persistence windows.