Honor safe flag when retrieving cache. Closes telerik/kendo-ui-core#278.