Wavelength-shifting fibers for calorimetric measurements in a long baseline neutrino oscillation experiment