If saving is aborted, don't leave temporary files lying around. Update cache file while saving messages.
If saving is aborted, don't leave temporary files lying around. Update cache
file while saving messages.

--HG--
branch : HEAD

dscho/dovecot,jkerihuel/dovecot,dscho/dovecot,jwm/dovecot-notmuch,jwm/dovecot-notmuch,jkerihuel/dovecot,dscho/dovecot,jkerihuel/dovecot,jwm/dovecot-notmuch,jwm/dovecot-notmuch,jwm/dovecot-notmuch,dscho/dovecot,jkerihuel/dovecot,jkerihuel/dovecot,dscho/dovecot