add Fastq.write function