MosaicResampler uses memory mapping

Applies to making noise images (making the variance map and reducing
into a sigma map) as well has filtering pixels into NaN. The code can
still run into trouble with image resizing if the resampled image is
extremely large.