Fix use of ab module at python2 plugin.