[752] Fixes to unicode handling and permission denied errors in resource_cache handling
[752] Fix for weird decoding on staging1