make measurement download redirect to s3 bucket.

Picks up some metadata changes from kixi.pipe too.
fix alignment, trailing parens &c.
Merge pull request #251 from MastodonC/feature/fix-measurements-download-as-file

make measurement download redirect to s3 bucket.