s3_repository: Fix error handling

Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
s3_repository: Simplify file info printing

Use fmt.Sprintf() for formatting.

Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>