[BEAM-1671] beampy: provide python 2.x support

Note: this is not fixed yet, the test may fail unpredictably!