On the temperature of water flowing through fractures