python3 compat (octals)

Python 3 stopped accepting leading zeros as the prefix for octals.

Thanks to Thomas Klausner for pointing this out!