subsampler.py needs a 2to3 conversion [ci skip]