This suggestion is related this bug
, as the suggestion can easily be incorporated as part of the bug fix.
When I download an album, the .tar file includes the /tmp directory, which isn't really desired. It is also quite unnecessary, because in the download.php file you can just change directory to the /tmp directory by prepending a "cd tmp;" in the exec call to the tar command.
Of course, the files that are to be combined must have /tmp stripped from their names, but I seem to recall you're actually adding "/tmp" to your filenames somewhere in the download.php script, so this is probably dead easy.