For a failure to obey a valid subpoena without a sufficient cause or excuse, or for a refusal to testify after appearance, the delinquent is guilty of a contempt of court and subject to be proceeded against by attachment. The delinquent is also liable to the party by whom the delinquent was subpoenaed for all consequences of such delinquency, with fifty dollars additional damages.