Un-Gzip file with Unix utils on Windows
printf "\x1f\x8b\x08\x00\x00\x00\x00\x00" |cat - metadata |gzip -dc %1 >> %1.json rm %1