config/module: copyDir properly copies files in subdirectories