If, upon trial of the writ of replevin, the plaintiff shall make good his or her plea, the plaintiff shall recover from the defendant reasonable damages for the taking and detention of the goods and chattels, and costs; provided, that no costs shall be taxed against a defendant bailee where such bailee upon demand surrenders the replevied property to the officer serving the writ and makes no defense to the action, if the bailee shall, before service of the writ, have offered to surrender the property upon receipt of a good and sufficient bond of indemnity.
R.I. Gen. Laws § 34-21-10