store captured images to disk, when data capturing is enabled