Preparation for multi-threaded save chunks to disk while downloading.
Complete multi-threaded working version.