Handle issues that arise in dateutil 2.2