(#2097) - Escape unicode before leveldb binaryStore

Escape unicode before leveldb binaryStore to avoid png attachment test failures. 

This gets localstorage-down all green [locally] in Chrome with the exception of migration tests and 1 browser.worker.js test (create local db)!