Removing redundant decompression of the tar archive in Gen_tf
As far as I can tell, this was a little migration mistake, where we ended up decompressing the tarball that's provided as a generator input config file twice. Removing one of them. At the same time moving to slightly more "modern" file syntax (but it doesn't change anything, just obviates the need to close the file).