Added exception checking for new versions of ``dateutil``.