Replace core-site.xml with a template