Prevent text conversion when caching

Prevent text conversion to unicode when storing library, save us from
reconverting to utf-8