Bug in gffwriter fixed

Fixed bug that caused exons to be outputted multiple times when using `write_gene_recs`. This pull request should go to `refactor`, not `master`, but not sure how to change this.