The owner of any animal sold as an estray, may apply to the board of supervisors of the county within three years, and, upon proof of title, the said board shall order the net proceeds of the sale thereof to be refunded to him out of the county treasury.