CA-146660: using tap-err for error messages and use error message instead of errno