Using dynamic read size in gzread