Support for setting max_age when writing files.

Setting max_age on catalog index.

This basically allows for CloudFront (!!)