Improved backup

Um, I'd move the `chmod` call before raising the exception, if e.g. `tar` fails during creating the tarball because of running out ouf space there might be unfinished backup with wrong permissions.