Fix chunk saving concurrent modification exception

Signed-off-by: Ross Allan <rallanpcl@gmail.com>