Revised handling of image masks in Orthorectifier and L2A output writer....

Revised handling of image masks in Orthorectifier and L2A output writer. Silenced warning during closing of logging handler.

Signed-off-by: Daniel Scheffler <danschef@gfz-potsdam.de>
2 jobs for feature/include_masks_in_l2a in 15 minutes and 33 seconds (queued for 2 seconds)