Use an other process to create the Tar file (for download)
The creation of the tar file changes the cwd for a short time
But even in this short time interval, other server actions may crash
because of the changed cwd.
(from redmine: issue id 1039, created on 2012-05-26 by root, closed on 2012-08-06)