Normalise buddy names when saving logs

Pidgin will try to save logs with non-normalised buddy names but can request logs using the normalised version of the name