Commits 178c9337 and 4174f20f introduced the possibility of an IndexError because the last loop in getDiskChunks assumes that disk_free and chunks have the same number of elements. Fixes #1248487.