Every personal representative or referee having in charge or trust any property of an estate subject to tax which is made payable by the personal representative or referee, shall deduct the tax from the property or shall collect the tax from the legatee or person entitled to the property and pay the tax to the department of revenue, and the personal representative or referee shall not deliver any specific legacy or property subject to tax to any person until the personal representative or referee has collected the tax.