WIP: allow fastq.gz and *.gz files in template creation.

this allows us to use .fastq.gz files in the template creation.

the pairing is not working for me yet. will fix and add to this pull request.