fix xrange NameError under Python 3

Trivial fix :) Please pull.