Use java.io.tmpdir to get temp folder
Fixed compilation of TryCatchSmart