Every such deed, conveyance, contract, or other instrument of writing which shall not be acknowledged or proved and recorded, as aforesaid, shall be adjudged fraudulent and void as to any subsequent bona fide purchaser or mortgagee or holder of any judgment, duly entered in the prothonotary???s office of the county in which the lands, tenements, or hereditaments are situate, without actual or cons