Fixed some possible xrange issues in out.py