Allow to use a template for $file_config content

We want to be able to specify an erb template as content.
Backward compatible, as the new parameter is undef by default.