Port daemon to common data IO infrastructure.

Workaround for new bug in Dateutil library.