Creation time is now a datetime in Task and related cleanups.
Generated xml is now utf-8 and indented.