write fasta chunks to working directory