gitk: Fix handling of tree file list with special chars in names