[SPARK-3967] don’t redundantly overwrite executor JAR deps

This should probably be surrounded in a `try-catch` block so that we delete `tempFile` if `copyFile` throws an exception.