Add support for .properties files in the config copying.