public static void addFileToTar(TarArchiveOutputStream tarStream, File file, String path) throws IOException {
		int mode = file.isDirectory() ? TarArchiveEntry.DEFAULT_DIR_MODE : TarArchiveEntry.DEFAULT_FILE_MODE;
		addFileToTar(tarStream, file, path, mode);
	}
Add a file into tar.

@param tarStream TarArchive outputStream
@param file      file
@param path      relative path to append
@throws IOException thrown when having IO problem.
ngrinder-core/src/main/java/org/ngrinder/common/util/CompressionUtils.java