Forestry biorefineries