fixed ticket [431b8b3dd9d] about gzread() overoptimistic assertion