Don't use iterator for main image filenames

The iterator was being consumed by an early operation and became
unavailable for later saving of the output files.
Rescale illumination field before saving
Add image crop function to save common crop params