Mesh controller sync breaks mapcontroller in agent
Issue: If the received mapcontroller config is smaller in size than the existing one then it results in residual garbage config.
mapcontroller config file will be truncated to length 0 before writing the received config data.