Puts profile file in profile.d via dictionary, string or template.