When piping a message to an external command, be sure to check the return value of kByteArrayToFile().
When piping a message to an external command, be sure to check
the return value of kByteArrayToFile().

This fixes mail loss when the tmp partition is full and spam filtering
is used.

svn path=/trunk/KDE/kdepim/; revision=884142

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