Add debug output of DZI document contents, fix handling of output filenames that need shell escaping
Add debug output of DZI document contents, fix handling of output filenames that need shell escaping

ryanfb/dzi-dl,ryanfb/dzi-dl