Restore file to original state if value is empty

Make Mesos file based configuration revertible.