replace this block with `cmd_tmpl = "gunzip -c %(filepath) > %(filenamewithoutlastextension)"` (to avoid extra copy)