add WriteTar function

synchronously writes to io.Writer

Signed-off-by: Max Brunsfeld <mbrunsfeld@pivotallabs.com>