Cleanup binary array retrieval code and fix some variable scoping.
Rethink the way we handle concurrent requests in the array chunker.