code to modify karaf feature config file