Stable-unstable flow of geothermal fluids in fractured rock