Upon the conversion of any association into a savings bank or commercial bank, every person who was a depositor of the association at the time of the conversion shall become and be deemed to be a depositor of the bank in a sum equal to the value of the deposit of the depositor as of the day on which the conversion was consummated.