Fix writing the ini file to unsure undefined values are replaced.
Fix writing the ini file to unsure undefined values are replaced.

ashwingj/frontend,photo/frontend,meatcar/frontend,mrzen/trovebox,meatcar/frontend,miketaylr/frontend,ashwingj/frontend,EMarcais/frontend,meatcar/frontend,ashwingj/frontend,meatcar/frontend,mrzen/trovebox,photo/frontend,Yetangitu/frontend,miketaylr/frontend,EMarcais/frontend,mrzen/trovebox,unhosted/openphoto,yetixxx83/frontend,yetixxx83/frontend,EMarcais/frontend,Yetangitu/frontend,unhosted/openphoto,yetixxx83/frontend,miketaylr/frontend,photo/frontend,EMarcais/frontend,photo/frontend,yetixxx83/frontend,unhosted/openphoto,ashwingj/frontend,mrzen/trovebox,Yetangitu/frontend,Yetangitu/frontend