cachestat cleanup to remove exception case (#1905)

Based on good stuggestions from @jbau.  Now cleaner and doesn't have any
uncaught exceptions.
Merge pull request #1921 from Stanford-Online/sef-1905-cachestats

cachestat cleanup to remove exception case (#1905)