Fixed directory permissions on XML output dir