Fix a bootloop problem when /data/system/usagestats/usage-history.xml is empty. This often occurs after an incomplete reboot/shutdown or battery pull.

Change-Id: Id719351421bd42a62bc4e07315d4a3e45f0a45a0