Thermo-poromechanics of fractal media