The bars wouldn't be exposed to air, that's what edible wraps like what is described in the article are for.
For backpacks and the like you will need something else to keep it clean, same as you would for an apple. May I present to you the lunch box, already used by 100s of millions.