maildir: Added asserts to make sure invalid extension records aren't written to uidlist.
maildir: Added asserts to make sure invalid extension records aren't written to uidlist.

dscho/dovecot,dscho/dovecot,dscho/dovecot,dscho/dovecot,dscho/dovecot