On Ubuntu Lucid, gzclose() returns Z_BUF_ERROR after gzread'ing an empty file.