Cast the bundle content to unicode

This avoids an assertion error in compressor/filters/base.py