When any valuable personal property, money or papers are found upon or near the body upon which an inquest is held, the coroner shall take charge of the same and deliver the same to those entitled to its care or possession. If not claimed, or, if the same shall be necessary to defray expenses of the burial, the coroner shall, after giving ten days' notice of the time and place of sale, sell such property. After deducting funeral expenses, the coroner shall deposit the proceeds thereof, and the money and papers so found, with the county treasurer, taking receipt therefor, there to remain subject to the order of the legal representatives of the deceased, if claimed within five years thereafter, or if not claimed within that time, to vest in the school fund of the county.