Fix timezone encoding in commits and tags.