fix templates not working on windows
the wrong compression options were passed to the tar command, such that the file ending doesn't match the actual compression type.