Long-Wavelength Approximation for String Cosmology with Barotropic Perfect Fluid