A couple of small 2.6-isms.

We can use namedtuple and the new 0o octal literal notation.