BUG: fix scipy.io.mmread() of gzipped files under Python3

fixes #2152