Add tar.gz achive download function.

related to #421.