Fix file viewer permissions.

tmpfile.mkdtemp creates a directory with 700 permissions,
then shutil.copytree copies the 700 over to "dest". This directory is
then unreadable by the webserver.