This syntax is not working. You can see this open issue. Also it is know issue for this flavor. So I suppose that currently it is not supported.
The only workaround that I found was the below:
pipe {
command => "gunzip --stdout /home/....../test.gz"
}
Which IHO is not the best.