work around missing gzopen on certain systems #865
Merge branch 'bug865'

* bug865:
  work around missing gzopen on certain systems #865