cli: tar: now outputs a tar stream with the correct format

Signed-off-by: David Scott <dave.scott@eu.citrix.com>