Fix #269: The Profile#setConfiguration api looses the layout of configur...

...ation files