actually make the script usable with python 2.4

This was started in ddb1796 (Accommodate older versions of Python's email
module), but two instances of email.utils were left out of the try ... except
statement.

The script is now tested with python 2.4 (packaged with RHEL 5.9).