(1) For the failure to pay over, on demand, any excess of money which may remain upon a sale by execution, after the satisfaction thereof, and all commissions and costs, the amount of such excess, with interest and damages; or
(2) For failing to pay over, on demand, money paid or collected on an execution, the whole or any part of which is enjoined in chancery, or to which the defendant is otherwise legally entitled, the amount so enjoined or to which the defendant is entitled, with interest and damages.