use the same filename for saving jpeg and communicating with megapixels
Before this postprocess_internal handled job.keep parameter and changed filename based on that, but postprocessd sent '.stacked.jpeg' filename to megapixels. That caused, that megapixels couldn't open taken picture, because it had wrong name. The picture was saved correctly.