Restore timestamps and versions to make JOSM happy.

Set utf8 mode on output files.