archive/tar: append a slash when deriving header info from a directory

This behavior is identical to GNU tar 1.26.

R=dsymonds, dave
CC=golang-dev
https://codereview.appspot.com/7307101

Committer: David Symonds <dsymonds@golang.org>