correct error handling for QFileDevice and KCompressedDevice
Differential Revision: https://phabricator.kde.org/D14890