Merge pull request #33 from martinghunt/master

Bug fixes: string decoding and qc write contigs file