S3 Output: Don't throw an error if there are no tags.

If you write S3 outputs and there are no tags, then it blows up
with #<NoMethodError: undefined method `join' for nil:NilClass>.

This PR fixes that, with tests.