Actually its more near one million, and as sectors go bad, the drive takes note and doesn't use them anymore. Also, if you write a 34KB file 1,000,000 times on a 2GB drive, it is not going to write it in the same spot, it will move it around evenly. You can fit 58,823 copies of a 34KB file into two gigabytes. This means that after 1,000,000 writes of this 34KB file, each sector of the flash drive will have been written to 17 times. Now being conservative, I bought a cheap flash drive, whose memory will begin to fail after each sector has been written 100,000 times. I've still got 99,983 writes left. That means I could write a 2GB file to this flash drive 99,983 times, or write that 34KB temp file 5.881x10^9 times.
I'm not very worried.