Make proper XML out of path-sorted output
Quote variables that could contain whitespace
Handle null names
Handle paths with spaces
Integrate flattener as an experimental script