Thermodynamic aspects of nonequilibrium current fluctuations