Bug 846984 - Prevent race conditions when USE_ZLIB is not defined. r=jorendorff