Add details to S3 data for UI.

Resolves #10.
Fix leaking tmp directories.