Make weight paths optional in MosaicResampler