public static void addByteToTar(TarArchiveOutputStream tarArchiveOutputStream, byte[] data, String path, long size, int mode) throws IOException {
		TarArchiveEntry entry = new TarArchiveEntry(path);
		entry.setSize(size);
		entry.setMode(mode);
		try {
			tarArchiveOutputStream.putArchiveEntry(entry);
			tarArchiveOutputStream.write(data);
		} catch (IOException e) {
			throw processException("Error while adding File to Tar file", e);
		} finally {
			tarArchiveOutputStream.closeArchiveEntry();
		}
	}
Add the given byte into tar.

@param tarArchiveOutputStream   TarArchive outputStream
@param data                     data byte array
@param path                     relative path to append
@param size                     size of stream
@param mode                     mode for this entry
@throws IOException thrown when having IO problem.
ngrinder-core/src/main/java/org/ngrinder/common/util/CompressionUtils.java