Fixing WinRT persistent cache bug

Addressing minor code review comments