Production of biochemicals from pulp and paper industry waste streams