The owner of dead animals upon the public streets and ways shall remove the same so as not to constitute a nuisance. If the owner fails to do so the city shall remove and dispose of such carcass, and charge the cost of such removal and disposition to the owner of the carcass, if known.