well... if it absolutely necessary wipe internal storage as i dont think its required.
copy everything u want like DCIM, backups, pictures , whatsapp etc ( dont copy app data etc like Andoid folder etc) . then wipe cleaned the rom and flashed new. then copy them back while connected the phone...