Removes _get_next_allocation from immutable/upload.py