Modified gzio.open to return nil in case of error