Process for bio-oil production involving the use of carbon dioxide