Fix saving a message replacing an existing file. Reported by Dirk on IRC.
Fix saving a message replacing an existing file. Reported by Dirk on IRC.

svn path=/trunk/kdepim/; revision=266255

lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi