use new-style string formatting
Merge pull request #374 from ndawe/master

MRG: use new-style string formatting