Don't mark some unsaved chunks as not modified if maxChunksToSave reached.

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