add CreateTarArchive helper

Signed-off-by: Matthew Sykes <matthew.sykes@gmail.com>