Made nanorc/expand.py python2.6-compatible.