Refactoring: make use of FileSource attribute in DirectoryRef tags.
Pkgdef patching with JScript.