download.multipart, create_chunks refactor