Handle timezones correctly in import/export. Fixes #60