t/capabilities.t: sanitize locale so matching error messages works