Fixed some bugs in cs_fastq_to_base_encoding