FIX subdirectories in XML fragment generation