Added GZIO support for toFilename and fromFilename methods of matrices