[Torch] Make Jacobian.testIO safe for concurrent runs

The current implementation has a file 'tmp.bin' for all instances.  This diff changes that to be a filename generated by `os.tmpname`.