fixed python3.3 compatibility issue in sphinx script