Fixes Issue 9778 - Support passing resource files to DMD.