Switch delimiter to comma (allowing future change in time format) and tidy indent.
Move 'git-trees function before 'import-db so it can be used.