Subrogation to unpaid vendor's lien