CLC-3343 Write expirations from smart_fetch_from_cache

https://jira.ets.berkeley.edu/jira/browse/CLC-3343