simplify error checking, always use the KCompressionDevice now that the assert/crash is fixed
early out on error in line writing loop
Differential Revision: https://phabricator.kde.org/D14890