move code to pipeline/fastq.py and handle mix up of fastq/fastq.gz samples