Renormalization-group approach to anisotropic superconductors at finite temperature