If any clerk or other officer shall fail in any duty imposed upon him by this article, he shall be liable to any party injured for all damages caused by such failure, or the person injured may, at his option, recover the sum of $50 from such clerk.