Updated to work with gzipped .fastq.gz

Thanks for the original script.  I modified it to work with either .fastq or gzipped .fastq.gz.