[No review required] Preserve logs on upgrade

Fixes https://github.com/Metaswitch/homestead/issues/71.