Fix concurrency issue when saving page images.

Bug: 67809
Change-Id: I6e9e61aac88b872a70593f239e1af179b830116c