Any person who claims damages of any principal officer for the act of his deputy may, at his option, bring an action on the deputy’s bond instead of on that of the principal, in the same manner as an action may be brought on the principal’s bond. (Orig. Code 1863, § 158; Code 1868, § 153; Code 1873, § 164; Code 1882, § 164; Civil Code 1895, § 260; Civil Code 1910, § 295; Code 1933, § 89-427.)