Can pass a string to read_config_file

Signed-off-by: Pierre Gergondet <pierre.gergondet@aist.go.jp>
Can also pass a string copy

Signed-off-by: Pierre Gergondet <pierre.gergondet@aist.go.jp>