Close the fastq files after writing