error checking for HTSeq. bug fix.

* error and warning messages now correctly output to STDERR.
* added HTSEQ error checking.