Processing dates with Python in Excel files