raise error if #compress's external command fails