The same scenario applies if you've gone on a hiking holiday. A large enough Ziploc will work to keep dirty shoes away from the rest of the stuff in your bag.