i'm talking about the /data/data/whatsappsomething folder not the media folder in the internal memoryYou can backup whatsapp without root too.
Just do a local Whatsapp Backup and copy the "Whatsapp" folder to your PC and after reinstall of the rom back to your sdcard. Then our can restore from that backup when reinstalling whatsapp.
If you need more instructions just Google it.