[win8, wp8] adds step to write medic config file (medic.json)