[752] Fixes to unicode handling and permission denied errors in resource_cache handling