CacheControl: Real Fix for max_age and s_maxage

 * We must save the cache control directives related to max_age
 and s_maxage on disk and restore them on load.
 * I hope I don't introduce any regressions in this commit.
io.c: Fix a ressource leak on error.