If any constable or other officer fail to execute and return, according to law, any execution to him directed by any justice of the peace, on or before the return day thereof, the plaintiff in execution may recover the amount thereof, with interest and costs and five per centum damages thereon, by motion before the justice to whom the execution was returnable, against the officer and his sureties. When any constable, or such other officer, or his sureties, shall have paid the amount of money and damages recovered, the original judgment shall be vested in the person so paying. The justice, on motion, may fine the officer not exceeding Fifty Dollars ($50.00) for failing to return such execution.