Treatment of pyrolysis oil with compressed carbon dioxide