Remove extensions from configuration files