Fix occasional hang at end of reading GZ/BAM files
Merge branch 'dev' of github.com:amplab/snap into dev