When checking if destination temp file exists, if stat() failed with anything else than ENOENT, we got stuck infinitely.
When checking if destination temp file exists, if stat() failed with anything
else than ENOENT, we got stuck infinitely.

--HG--
branch : HEAD

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