* Backup/Restore: Use libarchive instead of calling the tar shell command.
This should be slightly more robust and safe, though we were already
correctly escaping and quoting the shell commands.
(Murray Cumming)
* Avoid an infinite loop when document loading fails.
(Murray Cumming)