Fix octal tokens for python3 compatibility