Check for write error in save() if the disk is full
QSaveFile::write() doesn't return an error if the write fails because
the disk is full, at least on Linux when writing to an unnamed
temporary file. This fix works around this by checking that the file
size is the same as the number of bytes requested to be written, and
if not, returning an error.
BUG: 370708