Thermal fluctuations in superconductor/ferromagnet nanostripes