Fix the error when backing up the wifi info without root permission.

- if device don't have root permission, the tool will stop at backing up the wifi info.