Refactor cache store

A couple of simple refactorings for cleaning up ActiveSupport::Cache::Store#fetch.