FIX: --tmpdir not supported in mktemp on SLC5
FIX: permission problem in 040
FIX: --tmpdir not supported in mktemp on SLC5
FIX: permission problem in 041
FIX: issue didn't cause test failure
Merge pull request #356 from reneme/fix_test_40_41_slc5

FIX: Integration Tests 040 and 041 on SLC 5