More code modernization.

git-svn-id: https://get-iplayer-automator.googlecode.com/svn/trunk@569 98b4c264-8670-11de-a133-9d545b4d7674