Mask output files should always be saved with BSQ interleave
If BIP is set, also the mask files are written with BIP interleave (at least in case of ENVI format).
If BIP is set, also the mask files are written with BIP interleave (at least in case of ENVI format).