Updated to use hpg-libs bgzip support.

This pull request requires #11 to be merged, and #13 to be easily compiled.